#ifndef DRV_GIMBAL_H
#define DRV_GIMBAL_H

#include "apl_pid.h"

extern PID gimbal_yaw, gimbal_pitch;
extern PID gimbal_yaw_speed, gimbal_pitch_speed;

extern float angle_yaw, angle_pitch;
extern short  motor_angle_input[2];

extern void Gimbal_init(void);
extern void Gimbal_RC(void);
extern void Gimbal_set_angle(float yaw_set, float pitch_set);

#endif
